package org.jeecg.modules.demo.expenseAllocation.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: yx_expense_allocation
 * @Author: jeecg-boot
 * @Date:   2021-12-10
 * @Version: V1.0
 */
@Data
@TableName("yx_expense_allocation")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="yx_expense_allocation对象", description="yx_expense_allocation")
public class YxExpenseAllocation implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键ID*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键ID")
    private java.lang.String id;
	/**单据编号*/
	@Excel(name = "单据编号", width = 15)
    @ApiModelProperty(value = "单据编号")
    private java.lang.String receiptNumber;
	/**存货编码*/
	@Excel(name = "存货编码", width = 15)
    @ApiModelProperty(value = "存货编码")
    private java.lang.String cinvcode;
	/**入库单编号*/
	@Excel(name = "入库单编号", width = 15)
    @ApiModelProperty(value = "入库单编号")
    private java.lang.String woNo;
	/**存货名称*/
	@Excel(name = "存货名称", width = 15)
    @ApiModelProperty(value = "存货名称")
    private java.lang.String cinvname;
	/**计量单位*/
	@Excel(name = "计量单位", width = 15)
    @ApiModelProperty(value = "计量单位")
    private java.lang.String measureunit;
	/**数量*/
	@Excel(name = "数量", width = 15)
    @ApiModelProperty(value = "数量")
    private java.lang.Double amount;
	/**费用分摊金额*/
	@Excel(name = "费用分摊金额", width = 15)
    @ApiModelProperty(value = "费用分摊金额")
    private java.math.BigDecimal psAmount;
	/**金额*/
	@Excel(name = "金额", width = 15)
    @ApiModelProperty(value = "金额")
    private java.math.BigDecimal wsje;
    /**创建日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
    @Dict(dictTable = "SYS_USER",dicCode = "ID",dicText = "REALNAME")
	private String saleman;

    /**费用单号*/
    @Excel(name = "费用单号", width = 15)
    @ApiModelProperty(value = "费用单号")
    private java.lang.String socCostNo;
    //项目
    @Dict(dictTable = "PJ_PROJECT",dicCode = "ID",dicText = "PJ_NAME")
    private String project;

    private java.math.BigDecimal ftwsje;

    //部门
    @Dict(dictTable = "SYS_DEPART",dicCode = "ID",dicText = "DEPART_NAME")
    private String department;
    /**
     * 租户ID
     */
    private Integer tenantId;
    private  String tradecode;

    /**
     * 创建人
     */
    private String createBy;


    private String sysOrgCode;
}
